Description
    
      Write Metadata To Document From Binary according to metadata mapping.
    
  
  
    | Operation id | Document.SetMetadataFromBlob | 
|---|
     | Aliases | Document.TriggerMetadataMapping | 
|---|
    | Category | Files | 
|---|
    | Label | Trigger Metadata Mapping | 
|---|
    | Requires |  | 
|---|
    | Since | 7.1 | 
|---|
  
   
  Parameters
  
  
  
  Signature
  
  
    | Inputs | document | 
|---|
    | Outputs | void | 
|---|
  
   
  Implementation Information
  
  
    
      | Implementation Class | Class: 
      org.nuxeo.binary.metadata.internals.operations.TriggerMetadataMappingOnDocument | 
    
      | Contributing Component | org.nuxeo.binary.metadata | 
  
   
  JSON Definition
  
    {
  "id" : "Document.SetMetadataFromBlob",
  "aliases" : [ "Document.TriggerMetadataMapping" ],
  "label" : "Trigger Metadata Mapping",
  "category" : "Files",
  "requires" : null,
  "description" : "Write Metadata To Document From Binary according to metadata mapping.",
  "since" : "7.1",
  "url" : "Document.SetMetadataFromBlob",
  "signature" : [ "document", "void" ],
  "params" : [ {
    "name" : "metadataMappingId",
    "description" : "The metadata mapping id to apply on the input document.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "processor",
    "description" : "The processor to execute for reading blobs metadata.",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}